<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input  name="id" class="form-control" type="hidden" th:value="${examinationBatchCom.id}">

<!--						<div  th:text="${examinationBatchCom}"></div>-->

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛名称：</label>
							<div class="col-sm-8">
								<input id="name" name="name" placeholder="请输入竞赛名称" class="form-control" type="text" th:value="${examinationBatchCom.name}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">选择批次：</label>
							<div class="col-sm-8">
								<input id="cbatchName" name="cbatchId" type="text" class="form-control" placeholder="请输入认证批次名称" th:value="${examinationBatchCom.cbatchId}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛方式：</label>
							<div class="col-sm-8">
								<select name="type" id="type" class="form-control">
									<option value="">请选择</option>
<!--									<option value="3">理论+实操</option>-->
									<option value="4">实操竞赛</option>
								</select>
								<input type="hidden" id="types" th:value="${examinationBatchCom.type}">
							</div>
						</div>

<!--						<div class="form-group">-->
<!--							<label class="col-sm-3 control-label">选择场次：</label>-->
<!--							<div class="col-sm-8">-->
<!--								<input type="hidden" th:value="${examinationBatchCom.timePeriod}" id="timePeriod">-->
<!--								<select name="timePeriod" id="timePeriodBt" class="form-control">-->
<!--									<option value="">请选择</option>-->
<!--									<option value="T1">上午</option>-->
<!--									<option value="T2">下午</option>-->
<!--								</select>-->
<!--							</div>-->
<!--						</div>-->

						<div class="form-group" style="display: none">
							<label class="col-sm-3 control-label">请选择A赛场的裁判：</label>
							<div class="col-sm-8">
								<div id="refereeBBox" class="examjudge xm-select-demo" ></div>
								<input type="hidden" value="1,2,3" name="refereeB" class="examferrB" th:value="${examinationBatchCom.refereeB}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">A赛场题一 ：</label>
							<div class="col-sm-8">
								<div id="b1race" class="xm-select-demo"></div>
								<input id="b1raceInput" name="b1race" class="form-control course" type="hidden" th:value="${examinationBatchCom.b1race}">
							</div>
						</div>

<!--						<div class="form-group">-->
<!--							<label class="col-sm-3 control-label">A赛场题二：</label>-->
<!--							<div class="col-sm-8">-->
<!--								<div id="b2race" class="xm-select-demo"></div>-->
<!--								<input id="b2raceInput" name="b2race" class="form-control course" type="hidden" th:value="${examinationBatchCom.b2race}">-->
<!--							</div>-->
<!--						</div>-->

						<div class="form-group" style="display: none">
							<label class="col-sm-3 control-label">请选择C赛场的裁判：</label>
							<div class="col-sm-8">
								<div id="refereeCBox" class="examjudge xm-select-demo" data-exam="C" data-togg="refereeC" ></div>
								<input type="hidden" value="1,2,3" name="refereeC" class="examferrC" th:value="${examinationBatchCom.refereeC}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">C赛场题一：</label>
							<div class="col-sm-8">
								<div id="c1race" class="xm-select-demo"></div>
								<input id="c1raceInput" name="c1race" class="form-control course" type="hidden" th:value="${examinationBatchCom.c1race}">
							</div>
						</div>

<!--						<div class="form-group">-->
<!--							<label class="col-sm-3 control-label">C赛场题二：</label>-->
<!--							<div class="col-sm-8">-->
<!--								<div id="c2race" class="xm-select-demo"></div>-->
<!--								<input id="c2raceInput" name="c2race" class="form-control course" type="hidden" th:value="${examinationBatchCom.c2race}">-->
<!--							</div>-->
<!--						</div>-->

<!--						<div class="form-group">-->
<!--							<label class="col-sm-3 control-label">C赛场题三：</label>-->
<!--							<div class="col-sm-8">-->
<!--								<div id="c3race" class="xm-select-demo"></div>-->
<!--								<input id="c3raceInput" name="c3race" placeholder="请选择C2赛场的配置信息" class="form-control course" type="hidden">-->
<!--							</div>-->
<!--						</div>-->

						<div class="form-group">
							<label class="col-sm-3 control-label">赛项编号：</label>
							<div class="col-sm-8">
								<input id="serial" name="serial" placeholder="请输入赛项编号" class="form-control" type="text" th:value="${examinationBatchCom.serial}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛开始时间：</label>
							<div class="col-sm-8">
								<input id="startTime" name="startTime" class="form-control" type="text" placeholder="请选择开始时间" autocomplete="off"
									   th:value="${examinationBatchCom.startTime} eq null ? '' : ${#dates.format(examinationBatchCom.startTime, 'yyyy-MM-dd HH:mm:ss')}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛结束时间：</label>
							<div class="col-sm-8">
								<input id="endTime" name="endTime" class="form-control" type="text" placeholder="请选择结束时间" autocomplete="off"
									   th:value="${examinationBatchCom.endTime} eq null ? '' : ${#dates.format(examinationBatchCom.endTime, 'yyyy-MM-dd HH:mm:ss')}"
								>
							</div>
						</div>

						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="button" onclick="update()" class="btn btn-primary">确定</button>
							</div>
						</div>

					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/xmSelect.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/examinationBatchCom/edit.js">
</script>
</body>
</html>
